package com.javacore.day13.thread.example3;

class MyThread3 extends Thread {
	private String name;

	public MyThread3(String name) {
		this.name = name;
	}

	public void run() {
		for (;;) {
			System.out.println(name + ": hello world");
			yield();
		}
	}
}
